-
Home
-
Payment Gateway for Cielo API on WooCommerce
-
1.8.1
-
Code
-
Classes
- LknWCGatewayCieloDebit
Total Complexity |
94 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
1,039 |
Lines of code |
773 |
Logical lines of code |
285 |
Comment lines |
133 |
Methods |
15 |
Properties |
3 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
process_payment() |
C |
24 |
23 |
195 |
get_card_provider() |
A |
42 |
14 |
55 |
payment_fields() |
A |
33 |
2 |
187 |
init_form_fields() |
A |
33 |
2 |
131 |
payment_gateway_scripts() |
A |
49 |
8 |
27 |
generate_debit_auth_token() |
A |
45 |
7 |
40 |
process_refund() |
S |
50 |
7 |
26 |
validate_exp_date() |
S |
53 |
6 |
23 |
validate_card_number() |
S |
57 |
6 |
16 |
validate_fields() |
S |
57 |
5 |
16 |
lknGetCartTotal() |
S |
61 |
4 |
12 |
validate_cvv() |
S |
61 |
4 |
12 |
__construct() |
S |
51 |
3 |
25 |
add_notice_once() |
S |
73 |
2 |
5 |
admin_load_script() |
S |
77 |
1 |
3 |